package com.yanqu.road.entity.log.specialcookboy;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_special_cook_boy_finish_game", autoSave = true)
public class LogSpecialCookBoyFinishLevel {
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "关卡id")
    private int levelId;
    @FieldTypeAnnotation(desc = "关卡类型")
    private int levelType;
    @FieldTypeAnnotation(desc = "是否通关 0否 1首次通关 2重复通关")
    private int isFinish;
    @FieldTypeAnnotation(desc = "道具奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "时间")
    private Date logTime;

    public LogSpecialCookBoyFinishLevel(int activityId, long userId, int levelId, int levelType, int isFinish, String reward, Date logTime) {
        this.activityId = activityId;
        this.userId = userId;
        this.levelId = levelId;
        this.levelType = levelType;
        this.isFinish = isFinish;
        this.reward = reward;
        this.logTime = logTime;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getLevelId() {
        return levelId;
    }

    public void setLevelId(int levelId) {
        this.levelId = levelId;
    }

    public int getLevelType() {
        return levelType;
    }

    public void setLevelType(int levelType) {
        this.levelType = levelType;
    }

    public int getIsFinish() {
        return isFinish;
    }

    public void setIsFinish(int isFinish) {
        this.isFinish = isFinish;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public Date getLogTime() {
        return logTime;
    }

    public void setLogTime(Date logTime) {
        this.logTime = logTime;
    }
}
